*
* Cost of dominated choices
*
* Input:
*	"${data_dir}/Costly_dominated_choices.dta"
*

use "${data_dir}/Costly_dominated_choices.dta", clear


* Average cost of dominated choices (HUF)
tabstat tuition_costly_lower, stats(mean N)
tabstat tuition_costly_upper, stats(mean N)

* Cost of dominated choices (HUF)
tabstat tuition_costly_lower tuition_costly_upper if dominated_applicant_id == 1, stats(mean N)

* Cost of ex post costly dominated choices (HUF)
tabstat tuition_costly_lower if costly_dominated_DA_id == 1, stats(mean N) by(year)
tabstat tuition_costly_upper if costly_dominated_id == 1, stats(mean N) by(year)
